package com.yt.myTest;

/**
 * Created by Administrator on 2019/2/13 17:55
 */
public class testClass implements A,B {
    public testClass()
    {
        System.out.println("创建具体构件角色");
    }
    @Override
    public void a() {
        System.out.println("调用A方法");
    }

    @Override
    public void b() {
        System.out.println("调用B方法");
    }
}
